package com.cskaoyan.service.admin;


import com.cskaoyan.bean.BaseParamBo;
import com.cskaoyan.bean.BaseRespData;
import com.cskaoyan.bean.admin.promotion.bo.*;
import com.cskaoyan.bean.admin.promotion.vo.*;

/**
 * @Name : TopicVo.java
 * @Time : 2021/8/12 19:50
 * @Author : creamycandy
 * @Software : IntelliJ IDEA
 */
public interface PromotionService {

    //得到所有广告
    public AdListVo getAdList(String name, String content, BaseParamBo param);

    //编辑广告内容
    public ItemsBean updateAd(AdBo adBo);

    //删除广告
    public void deleteAd(AdBo adBo);

    //添加广告
    public ItemsBean createAd(AdBo adBo);

    //得到所有优惠券
    public BaseRespData getCouponList(String name, Short type, Short status, BaseParamBo baseParamBo);

    //新增优惠券
    public CouponVo createCoupon(CouponBo couponBo);

    //得到优惠券详情
    public CouponVo readCoupon(Integer id);

    //得到领取优惠券的用户信息
    public BaseRespData getCouponUser(Integer couponId, Integer userId, Short status,BaseParamBo param);

    //更新优惠券信息
    public CouponVo updateCoupon(CouponBo couponBo);

    //删除优惠券
    public void deleteCoupon(CouponBo couponBo);

    //获取专题信息
    public BaseRespData getTopicList(String title, String subtitle, BaseParamBo param);

    //创建新的专题
    public TopicVo createTopic(TopicBo topicBo);

    //更新专题
    public TopicVo updateTopic(TopicBo topicBo);

    //删除专题
    public void deleteTopic(TopicBo topicBo);

    //获得团购规则
    public BaseRespData getGrouponRulesList(Integer goodsId, BaseParamBo param);

    //修改团购规则
    public Integer updateGrouponRules(GrouponRulesBo grouponRulesBo);

    //添加团购规则
    public GrouponRulesVo createGrouponRules(GrouponRulesCreateBo grouponRulesCreateBo);

    //删除团购规则
    public void deleteGrouponRules(GrouponRulesBo grouponRulesBo);

    //获得团购活动列表
    public BaseRespData getListRecord(Integer goodsId, BaseParamBo param);
}
